package com.you.atlas.biz.place.service;

import com.you.common.ibatis.data.DataList;
import com.you.common.result.ServiceResult;
import com.you.place.dal.dao.dataobject.CommentDO;

public interface CommentService {

    /**
     * @return
     */
    public DataList queryByFKId(int pageNo, String type, Long fkId);

    /**
     * @param id
     * @return
     */
    public CommentDO find(Long id);

    /**
     * @param comment
     * @return
     */
    public boolean postComment(CommentDO commentDO);

    /**
     * @param id
     * @return
     */
    public ServiceResult<Object> deleteComment(Long id, Long memberId);

}
